package com.springapp.mvc.service.Interface;

import com.springapp.mvc.dao.bean.Location;

import java.util.List;

/**
 * Created by Administrator on 6/26/2018.
 */
public interface LocationService
{
    /**
     * ���뵱ǰ��γ��
     * @param lon ����
     * @param lat γ��
     * @return �����Ƿ�ɹ�
     */
    long insertCurrentLocation(float lon,float lat,String address);

    int getLocationCount();

    List<Location> queryLocationPaged(int limit,int offset,String sortPro,String sortType);

    int deleteLocation(int locationId);

    Location queryLocationById(long locationId);
}
